In my app there are several if conditions. In one of the if condition a modal with two buttons will be shown. if the user clicks one button it should go execute a statement. If