[Echo.GUI.Modal] destroy element when its hidden & tests fix for FF