multiple selections implemented as dialog
added cancel button, function to call dialog