Implemented selection dialog for multiple selection possibilities.