I saw that you put all your conditions in the wrong place…
Create a workflow to run when your button is clicked.
As your first action, display the popup only when the condition below is met:
toggle1 is not toggled OR toggle2 is not toggled