work on share dialog