Fixed bug in exportdialog. 

Fixed bug in exportdialog. When filename is initially set to *.svg, export format is not recognised as SVG. Now result image format recognises all right.