fix style property error in line view
added basic card dialog