OZP-16: Adding a fix to modal where calling hide multiple times created issues.
Merge branch 'master' of https://github.com/ozoneplatform/ozp-commons into feature/ozp-16-migrate-dashboard-switcher