Make sure the template details dialog is on top.
[fixes #77646268]
Remove potential for a vertical scrollbar.
sporadic scrollbar was introduced in: a403774df171baab523cf9f7a1d36e02dd727376
but decided to fix the root cause and clear a better way
[fixes #77646168]