Skip AYS dialog if user clicked Close/Cancel button

Only show confirmation if using browser navigation