closing agent properties dialog
setup start simulation functionality
handling pause sim