Change alert to confirm and fix paginations gap template for bootstrap styles