Added an "Are you sure" dialog for the "done" button