Also sets the tooltip type for this dialog back to bottom-of-the-screen ones instead
of floating ones. And some formatting cleanup to the C++.
(cherry-picked from commit 851b28e24bfefd068069aa9ac2eaada6593718b4)
[ci skip]
This is currently only the case on the 1.14 server, but it's easiest just to
remove the line completely rather than constantly adding or re-adding it based
on whether you're using a or dev series.
(cherry-picked from commit 6f057d8b02572172209afdf718cbd1bfe50d1016)