enhance popup

It was buggy on my browser