blocking navigation when childview is opened