Adds preview action trigger (thanks Thomas Bruederli)