Fix sizing to fit in dialog