Fixed so popupmessages are only created once per use.