added a UI form and some code to the molecule open dialog