Create dialog on stack + const'ify pointer

1 job for release/21.12 in 13 minutes and 22 seconds (queued for 7 minutes and 7 seconds)