Form fixes and error handling
Fix form bugs with hidden fields
Fix popup displayed event and delay resize