try adding this in the head tag
<base target="_self" />
and the following as well. This is to make sure that when this page gets loaded via showModalDialog method it will still go to Page_Load event
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Pragma" content="no-cache" />