Today i was in the custom code section and did the same and it refreshed the page totally and my post was gone. Both ways have also happened in other categories as well.
Why do the different sections act differently when it comes to the token expire i wonder. You would think they would all be going through the same logic. But different sections act differently.