made alert manager dismiss on click outside
made alert manager dismiss on click outside