Creates a test alert box with a title, message and cancel button