Optimize icon sizes
Release scoped pointer for dialog after show