Merges both print buttons into one and abolishes the dialog