moving modal outside of html file