Improve UX when text selection is needed
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3535434. -->
Reported by: [petar_basic](https://www.drupal.org/user/3626336)
Related to !749
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>If you don't select text before using "modify with a prompt", the modal is unusable. There is a message to select text in the modal, but the instructions textbox is still there. </p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Ideally, the button would be disabled until some text is selected. It could show a tooltip saying the text should be selected first.<br>
It could at least show some information that one would need to select some text first. E.g. label could be: 'Modify with a prompt (select text first)'</p>
issue