Restore run dialog js that was removed by previous commits by mistake