share dialog parametrised