Fix close booking dialog

-Add check for dialog top-right button click without saving
changes