Not sure if you are a ST/webcore convert but if so this method does the same thing as the Stays trigger in webcore. More on that here: