fix modal plot settings bug