Implement dialog feature