How to disable screen when dialog boxes have callbacks


#1

Currently all my dialog boxes pass callback functions. Is there a way within electron to focus the dialog box and not let the user interact with the page until the dialog box is closed?