refactoring of DialogViews and MoveOrderView