Move all debug functions into a single developer drawer,
Not the best implementation as there is focus fighting going on between some elements and the drawer but will do for now without state management
Using the same promise type of API that the input dialog is using, if the user closes the dialog via esc or the cancel button the promise will resolve `cancel` otherwise the promise will resolve `confirm`