Actually I am already using grab_focus. But it does not work If I add more sub menu of audio or video etc. But, just after this post I found out that I need to select the button pressed option from the inspector. Thank you for your reply.
Edit: Just found out that there is a button_pressed function to set a button active on ready or when set visible.