moved SingleInputOptionDialog into its own file