Position popup so that flash message is clickable