osc:dialogs: set static pointer to NULL after free

Signed-off-by: michael hennerich <michael.hennerich@analog.com>