Added event for manipulating URL before navigation occurs