improve ux by by add close panels and clear button dialog