invoke end on close dialog
conflict