closeDialog: Disable unredirection while showing
The dialog won't be visible when unredirection is in place (for example while a fullscreen window is focused), so disable unredirection while the dialog is up.
The dialog won't be visible when unredirection is in place (for example while a fullscreen window is focused), so disable unredirection while the dialog is up.