Jag har stött på ett problem... Går inte att posta i en ModelessDialog..
    
    
Då jag öppnar en sida i en ModelessDialog så funkar det fint. 
Men när jag sedan ska skicka iväg ett inlägg i den rutan så klagar den över att det har blivit något scriptfel. Vad kan jag göra? 
Koden från sidan:<code><%
Session.Lcid = 1053
Response.Buffer = True
%>
<!-- #include file="inc/logg.asp" -->
<!-- #include file="inc/sub.asp" -->
<html>
<head>
    <meta http-equiv="Content-Language" content="sv">
    <title><%=Title%></title>
    <style>
      html, body, button, div, input, select, td, fieldset { font-family: MS Shell Dlg; font-size: 10px; }
      form { margin: 0; }
    </style>
</head>
<%
If Request.Querystring("action") = "LostPw" Then
    Set CDONTS = CreateObject("CDONTS.NewMail")
    CDONTS.From = "webmaster@teambd.net"
    CDONTS.To = "webmaster@teambd.net"
    CDONTS.Subject = "Team Norrbotten - Ditt Lösenord"
    CDONTS.Body = "Lösenord: sleepzone"
    CDONTS.BodyFormat = 0
    CDONTS.Importance = 2
    CDONTS.Host = "smtp1.b-one.net"
    CDONTS.Send
    Set CDONTS = Nothing
    Response.Redirect "forgotpw.asp?action=sent"
End If
%>
<body  style="background: threedface; color: windowtext; margin: 10px; BORDER-STYLE: none" scroll=no>
<form onSubmit="checkEmail()" action="?action=LostPw" method="post" name="ForgotPasswordForm">
<FIELDSET style="width: 179px; text-align: center; height:90px">
<LEGEND>Glömt Lösenordet</LEGEND>
<% If Request.Querystring("action") = "sent" Then %>
Ditt lösenord är skickat.
<% Else %>
<table border=0 cellspacing=6 cellpadding=0 width=100%>
 <tr>
  <td><nobr>E-post:</nobr></td>
 </tr>
 <tr>
  <td><input type="text" name="email" style="width:150px;" value=""></td>
 </tr>
 <tr>
  <td colspan="2" style="text-align: right;"><input type="submit" value="Skicka" style="width:60px;"> <input type="reset" value="Rensa" name="clear"></td>
 </tr>
</table>
<% End If %>
</FIELDSET>
</form>
</body>
</html></code>