PERF: Create done_dialog dynamically when it's needed