update navbar with modal