refactings, about dialog