Initial setup of gradient dialog