I have created a Custom Action which appears on "Site Actions" and when you click on it, it opens a modal diaglog which is a Application Page. within this Application Page I want to redirect to ~site/_layouts/newsbweb.aspx. I have tested following but no success.
How do I get HttpContext in Application Page.
SPUtility.Redirect("~site/_layouts/newsbweb.aspx", SPRedirectFlags.Trusted, ???)