Fixed dialogue_name_changed
Removed debugging code