Add confirmation on close button

review3101002