Improves UX of autodevops popover to match gpg one
What does this MR do?
Fixed popover behavior to match the gpg ones.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
- Changelog entry added, if necessary
- Has been reviewed by UX
- Has been reviewed by Frontend
- Conform by the merge request performance guides
- Conform by the style guides
- Squashed related commits together
What are the relevant issue numbers?
Closes #38582 (closed)