Add method afterComplete

New event, that fires after the popin has been opened and everything
else has been done.