Added CursesDialog options helper method
Implemented proper callback for options method of CursesDialog