Button and header spacing in function dialog improved