fix(dialog): correctly tests for multiple modal backgrounds