Moved popups to an invoke later. This might help #197