AMBARI-7073 Incorrect behavior of adding Dashboard's widgets. (Max Shepel via atkach)