Fixed issue with Form Designer

Fixed an issue with the form designer where you could not add two controls of the same type to a form without opening and closing it.