2542: close dialog fixes.

Don't place the sync helpers above the dialog.

Don't double check that the user wants to leave.