It improves workaround for QTBUG-87804 in StatusDropdown, to work nicely whenever content is set via contentItem or not. The same solution is added to StatusDialog. Closes: #11768
Closes: #11716