Fixed the popup not appearing error.

The code from the seperate file can now be executed, so every time the
link is clicked, a popup should appear showing if email service is
available.