MDL-46703 mod_data: limit the width of select element when editing templates

Thanks to Hittesh for the provided solution