id is passing to function
changes in view and make sure backbone model gets right post types - only post types and returns the ids that need to be deleted