now it shows selected dock info
refresh menu bar when selecting a dock
created model class