A fix for this issue was included in today's (11th March 2014) release of Totara 2.4.18
Best practice forum (Archived)
Automatic Activity Completion not working when activity - resource is opened in a new window or pop-up
Re: Automatic Activity Completion not working when activity - resource is opened in a new window or pop-up