Fixes for destroy jquery dialogs
Fixes for add/edit build screen state