modificat helper pt show open events in navbar