refactored monitoring dialog into single view template