Supercal popup fixed

Terrible code though