css and modal list layout fix