Changed run modal implementation.