Fix complete/reopen task AJAX in BP templates