On dominating graph of graphs, median graphs, partial cubes and complement of minimal dominating sets