Add jQuery function to make confirmation window disappear when background clicked