The share dialog can be opened in 2 ways:
- through the always-there toolbelt "share" icon
- through the floating button that appears when text is selected
And it can open in 2 states:
- with the article summary
- with the selected text
In the current code, the state that the dialog will be opened in depends on whether there was any text selected, not which button was pressed to open it.
It is therefor possible to open the dialog from the toolbelt "share" button and have it show with a selected text snippet (assuming any text was selected when pressing the button)
That is *not* meant to be possible.
The state in which the dialog opens needs to match the button used to open the article: toolbelt button always opens with the article summary; floating button always opens with selected text
Acceptance criteria
- Opening the dialog through the toolbelt "share" icon opens it with the article summary when no article text is selected
- Opening the dialog through the toolbelt "share" icon opens it with the article summary even when article text is selected
- Opening the dialog through the floating button opens with the selected text, when article text is selected
- Opening the dialog through the floating button without article text being selected is not possible



