#187 refactor boolean that forces dialog focus