Iss #70: Updated BaseDialog class to not destroy dialog window but hide to allow for reuse. Furthermore added missing return statement for response.