aded tint color for dialog. also changed methods to make more sense