improved display of popup on succesful contact form submission