How to test cryptui's dialogs?