Small fix for confirm box

Added fix for confirm box overlay and added
func to remove the box by pressing ESC key.
Merge branch 'master' into gh-pages