A more simpler implementation is using Dialog Boxes