more tweaks to modal