fix bug popup front safari osx