add button in multiple select menu overlay

add button in multiple select menu overlay

Hello,
I have a multiple select with data-native-menu=false. I would like to add a button in the created dialog to close it because the close button is not very intuitive.
It seems that invoking select menu opens a dialog which includes a listview for selecting item.
I tried to add the button on triggering the event dialogcreate:

$('div:jqmData(role="dialog")').live('dialogcreate', function(){
       ....
      $(this).find("div:jqmData(role=content)").append('<a id="close" data-role="button">Valider</a>'); } );

But the button is placed before the items and semi visible (I would like to place it at the end of the list).
So I tried to append it after ul :
      $(this).find("div:jqmData(role=content) ul").append('<a id="close" data-role="button">Valider</a>');
But it does not work. I suppose the reason is that when invoking dialogcreate the list is not yet created.
So instead of triggering the dialog creation I would like to trigger the list creation. I can't manage to do this; I tried many methods but nothing worked. So is there a special event like dialogcreate but for the lists (the event 'create' did not work)?
Thanks for the help.
David