Always set classes
Even if they werent set initially, make sure a modals classes represent its functionality (eternal, blocking)
Added parent element to settings
Makes it possible to place the new modal where you want.
Only set class d-modal once
Merge branch 'master' into test
More testing...
Parent only has to be added to settings once
Added second test
Further testing - blackness placed in parent