test tabindex not set to -1 on focus, refs #17492
fix CSS when pressing Dialog close icon, fixes #17501