I have a Modal ModalPopupExtender on my page.

It is shown right before i do a redirect. Problem is that it doesn't show, it just redirects. If I comment out the Redirect it shows up. I question is, how do I get it to do both?

Heres the code I'm using.

Protected Sub btnRunSaveQuery_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRunSaveQuery.Click
               If Trim(Request.Form("ctl00$ContentPlaceHolder1$hdnbox")) = "Yes" Then

End If

HTML Code:
 <asp:Panel ID="EditorPanel" runat="server" CssClass="modalPopup" Height="233px" Style="display: none"
        <br />
        <br />
        <br />
                    <td style="width: 100px">
                        <img id="Img1" alt="" height="100" src="2.gif" width="100" /></td>
    <a id="dummyLink" runat="server" href="#" onclick="return false;" style="display: none;
        visibility: hidden;">dummy</a>
    <cc1:modalpopupextender id="MyMPE" runat="server" backgroundcssclass="modalBackground"
        behaviorid="MyMPE" dropshadow="true" popupcontrolid="EditorPanel" targetcontrolid="dummyLink">