Can i pause that data-rel='back' work ?

Can i pause that data-rel='back' work ?

hello, i don't speak English well, sorry.

i have a question about data-rel='back' working.

i use this code.

when i turn up popup page
<a href='new_post.php'  class="ui-btn-active" data-transition="slideup" >New Post</a>

close popup page
<a href="/" data-rel="back" data-icon="delete" data-transition="slidedown" >back</a>

and it work well.

but i want to show alert when i click data-rel="back" button.

i don't know how do i coding.

i use this code
<a href="/" data-rel="back" data-icon="delete" data-transition="slidedown" onClick="checkClose()">back</a>

  1. function checkClose()
  2. {
  3. var retConfirm = confirm("취소하시겠습니까?");
  4.  
  5. if (retConfirm) {
  6. alert("yes");
  7. return true;
  8. } else {
  9. alert("no");
  10. return false;
  11. }
  12. }

it works. but data-rel="back" work after 'no' alert.

i want 

'yes' alert -> data-rel="back" work

'no' alert -> data-rel="back" don't work

How can i do???

please help me..