disable confirmation before close admin page