my problem is first window open an button click second window open. second window insert button and button click file dialog opened. but file dialog is does not locked. how to s