Add the a debug button to test the loading dialog.