Repaired click outside dialog

Repaired click outside dialog create homework