What was Prince of Wales attending to in Dublin?