Skip to main content

FW.Dialog.Center()

FW.Dialog.Center(offset)

offset = {left: 50, top: 50}; // Optional; useful for cascading dialogs, maybe?

Centers a modal. Apparently it's the top/active modal? Whatever the case, it works!