Revert "fdo#74064 The filename gets properly highlighted in the Save As dialog."

This reverts commit 55eb86699d7d4b2151530e9a0b3ca2e99033595b, which caused a
regression fdo#76466.