Fix open location entry when pressing '~' or '.'
Recent changes in GTK default input method
makes `~` char to start as dead key, that's
why filechooser stopped detecting it for the
keybinding to open location entry.
Filechooser also installs keybinding to open
location entry on period (.) character, that
was failing too, so we also fixed that.
Fixes #4911 (closed)