Ensure panel url is correct in when panel opens