BUG FIX: hack way to prevent double generation of confirm box