adding a simple dialog tool