More file size optimizations in 'modal'