Contents of popup loses style

Contents of popup loses style

I'm using JQuery 1.2. I have a popup that is opened with a simple anchor tag. When it is displayed, The outer div of the popup has it's style but the contents don't. The buttons look like links instead of what I am expecting. Has anyone else seen this issue?

<div data-role="popup" data-theme="b" data-overlay-theme="a" class="ui-content" id="popupTest">
<div data-role="header" data-theme="a" class="ui-corner-top">
<h1>Send Local Data?</h1>
</div>
<div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
<h3 class="ui-title">Sample Text<br />Send to MEI now?</h3>
<a href="#" data-role="button" data-inline="true" data-theme="d">Yes</a>
<a href="#" data-role="button" data-inline="true" data-theme="d" onclick="$('#popupTest').popup('close');">Cancel</a>  
</div>
</div>