settings.buttonclass controls the save/cancel button size