fixed modal style and implementation