modal popup work is complete and some fixes in base view regarding getDynamicJavascript