FIXED: Dialog close button bug