Extract dimension-selection window to extra class