Page is not responsed after a file is download

Hi, please see the following code:
protected void init(VaadinRequest request) {
final VerticalLayout layout = new VerticalLayout();

    Button button = new Button("Download");        
    button.addClickListener(new ClickListener() {

        public void buttonClick(ClickEvent event) {
            StreamResource.StreamSource source = new StreamResource.StreamSource() {

                public InputStream getStream() {
                    byte b = null;
                    String ppp = "<table><tr><td><span>djfdlkfj</span></td></tr></table>";
                    b = ppp.getBytes();
                    return new ByteArrayInputStream(b);

            String namefile = "picture.xls";
            StreamResource resource = new StreamResource(source, namefile);

            resource.getStream().setParameter("Content-Disposition", "attachment;filename=\"" + namefile + "\"");
            Page.getCurrent().open(resource, "_self", true);
    Button dummy = new Button("Dummy");        
    dummy.addClickListener(new ClickListener() {

        public void buttonClick(ClickEvent event) {
  "Dummy button is clicked");
  1. Click button Download, file picture.xls is download.
  2. Button Dummy and Download are not responsed any more.
  3. Refresh browser, everything is normal.

Is there anything missed when using deprecated method Page.getCurrent().open(…) in Vaddin 7.7.6?

I’m not sure about the I would recommend to use FileDownloader