Dialog focus fixes for Ubuntu 12.04 LTS