Implemented the Select Cases Dialog