Started converting GenericDialog from Ruby to C++
Moved GenericDialog from Ruby to the C++ side