Fixed bug with OpenDialog (No stop preview)