fix modal footer wrap and beautify temporarily