NEW: option to auto open after create a pdf file.