Added post-render event on modal widget