Move load on double click feature to Dialog class