Changed primary background color
Fixed dialog auto close bug