@baris thanks for the suggestions, for now I've just replaced the toast on clicking Reply with the confirm dialog and if they cancel it presses the discard button to close the composer.