created new matrix input dialog, more fun things to come now