Add base dialog class that can be used to implement responsive JS dialogs

Should we be verifying that `SwatZIndexManager` is included?