Fixed serialising command view width
Added ShowDialog()