fix editing of application AGPUSH-755

https://issues.jboss.org/browse/AGPUSH-755