improved modal ui