Bug fix #4400

#Modifications:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. Code to fix bug 4400
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2. Added a note, on when the confirm dialog is triggered for ease of other contributors
#Status: Fixed
Signed-off-by: A V Minhaz <minhazav@gmail.com>