Isolated fix for changing height of modal bar with filter picker

This is a temporary, isolated fix for #8242 . This will allow us to post Release 0.41, but we should keep issue #8242 open so that a better fix gets researched.

I have concerns with the scrollPos. I tested with inline editor open and it always scroll down a few lines for each invocation of Replace command. Actually, the number of lines scroll down seems to be the same as the number of lines in the inline editor.