Close click function.