Closing modal before filling out form #419