Update dialog.cpp (for RGBA)

Add RGBA support to runner.