add a dialog
Position has been changed