background notification in phonegap
===

I'm building a simple alarm clock with Phonegap for ios, and I've got the notifications triggering on background and foreground. (All with the help of Drew Dahlman and this tutorial  http://www.drewdahlman.com/meusLabs/?p=84).

The phonegap plugin provides the capability to run background and foreground functions when the localNotification is triggered.

My problem is that if the app is in the background, I seem to only be getting a default "close/view" dialog box, not the notification dialog box I'm setting. 
I was hoping to have the background notification give the user the ability to "get up" or "snooze", but of course, this isn't possible with the default "close/view" notification. 

Have I got this wrong? Is there another way around this? 

My code for setting the local notification is simple
<pre>
plugins.localNotification.add({ date: set_alarm, 
                               message:"background",  
                               badge: 1, 
                               id: 12, 
                               sound:'Alarm_01.caf',
                               background:'MyApp.Alarm.notification_background',
                               foreground: 'MyApp.Alarm.notification_foreground'
                             });
</pre>

Foreground notifications work fine, it's just the background notification I'm struggling with. 