small modal improvment