i tired viewing the source code and a dialogue box came up
The source code is a plain text file. What were you trying to open it in?