removing unnecessary modal