Issue #276 - Code improvements on SurveyInstance details

* Remove unused code
* Change from `Dialog` to `Details` in function name