[widgets]: some improvements to forms and added switch to check if app has server or not