adding navigator for alerts