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

It's an error if it's not included so I think this is fine.