dialog is now fully functional for the needs of testing