function openmergedlg(h,mode)

%% Show the (singleton) selection dialog


%% Get the dialog handle
dlg = tsguis.mergedlg(h.Parent);

%% Target the dialog and show it
set(dlg,'ViewNode',h.Parent,'Visible','on');
set(dlg.Figure,'WindowStyle',mode)
figure(double(dlg.Figure))
