withAfterRenderAction

Run a piece of code after the rendering is done.