debug mode now loads in unminfied version of apps
modal no longer using nested button links