added copy_dialog_id method