control dialog width adjustments for quintic and exponential
fix bug in function instructions HTML template