[okModal] Ensure obj is jQuery obj before removal