should return error if create duplicated dialog
handle duplicate exception when create dialog