Prevent multiple forms being opened at once