function openmergedlg(h,manager)

%% Get or create a view to suppport the merge dlg
thisview = openviewdlg(h,manager);

%% Open the dialog
if ~isempty(thisview.Plot)
    openmergedlg(thisview.Plot);
    update(tsguis.mergedlg,h.Timeseries);
end