Fixed pointer ID in dismiss function