Iss #70: Updated DialogBuilder class to include a int signal representing the primary selection. Multiple functions to build required objects. Altered button methods to provide correct functionality.