refactor share dialog
fix ractive component nesting