added custom selection dialog