move dialog base functions