May I know how to write a code to check whether this form is already open?