Hooked up the modal form to the metadata editor. Requires a few style tweaks
Style fix