modal fix, MyApps revamp it, upgrade several javascript files