Dashboard: Block an alerts refresh if an alert is open

This is a relatively hacky way of solving the refresh issue where open alerts are closed if the dashboard auto refreshes.

This change terminates the auto-refresh if one of the rows is open. Once the row is closed then the dashboard with auto-refresh normally.