Modal click fix