automatic modal width compute
v1.2.0