Fix options dropdown menu closes on commit window when using Alt-Key to write in the Author field

Fix #567
Merge pull request #2059 from pmiossec/correct_commit_dropdown_when_alt_key

[2.47]Fix options dropdown menu closes on commit window when using Alt-Key to ...