feedback, bug fixes and refinment

added some user feedback via modals
Small bug fix on flags js
refind the layout code a bit