checcking for prompt-input in the modal DOM