Skip leave confirmation dialogs depending on session settings