Added the dialog confirm box on close
Merge remote-tracking branch 'origin/master'
Added the dialog confirm box on close