Implemented dialog framework