add input selection dialog