fix CardNew and ListNew to work properly without reloading the page like a noob